package
{
    import com.zn.ResLoader;
    
    import components.contorls.superClass.BaseAlert;
    import components.managers.SystemManager;
    
    import flash.utils.getDefinitionByName;
    
    import test.DebugInfo;

    [SWF(width="800", height="550", backgroundColor="0xCCCCCC")]
    public class Main extends SystemManager
    {
		public static var debug:Boolean = false;
		
        private var _facade:ApplicationFacade;
		
        public function Main()
        {
           
        }
		
		public function start():void
		{
			initSet();
			
			_facade = ApplicationFacade.getInstance();
			ResLoader.faced = _facade;
			_facade.startup(this);
		}
		
		private function initSet():void
		{
			BaseAlert.defaultAlertClass=Class(getDefinitionByName("components.contorls.Alert"));
			new DebugInfo();
		}
		
	}
}